package com.tuniu.agents.common.message;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
public class ProductData {

    private String title; // Title (e.g., Transportation Recommendation, Flight Recommendation, Vacation Recommendation)
    private List<ProductCard> list; // List of product cards

    @Data
    @NoArgsConstructor
    public static class ProductCard{
        private int type; // Type of the card
        private Object content; // Data of the card

        public ProductCard(int type, Object content) {
            this.type = type;
            this.content = content;
        }
    }

}
